package simpledemo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;


/**
 * User: yian
 * Date: 2018/6/30
 */
public class LogBackTest extends HttpServlet {
    Logger logger = LoggerFactory.getLogger(LogBackTest.class);


    @Override
    public void doGet(HttpServletRequest request,
                      HttpServletResponse response)
            throws ServletException, IOException
    {

        System.out.println("+++++++++++++++++++++++++++");
        logger.info("==================================");

    }
}
